package com.linkhub.oms.common.enums.mp;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.linkhub.oms.common.enums.IEnumConvert;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author Jaycle
 * @version 1.0.0
 * @Description TrackingNumberStatusEnum.java
 * @createTime 2024/10/30 23:49
 */
@Getter
@AllArgsConstructor
public enum TrackingNumberStatusEnum implements IEnumConvert<Integer> {

    SUCCESS(1, "跟踪号生成成功"),
    IN_PROGRESS(2, "跟踪号生成中"),
    NO_GENERATION_REQUIRED(3, "跟踪号无需生成"),
    FAILURE(4, "跟踪号生成失败");

    @EnumValue
    private final Integer code;
    private final String desc;
}
